package com.alinesno.cloud.initializr.starter.enable;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.Import;
import org.springframework.scheduling.annotation.EnableAsync;

import com.alinesno.cloud.common.core.auto.EnableRpc;

/**
 * 自定义enable注解
 * 
 * @author WeiXiaoJin
 * @since 2020年11月1日 下午4:12:14
 *
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@EnableAsync
@EnableCaching
@EnableRpc
@Import({ ConfigurationSelector.class })
public @interface EnableInitializrAdmin {

}
